package com.aierjun.notepad;

import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.ImageView;

/**
 * Created by aierJun on 2016/6/18.
 */
public class HistoryActivity extends AppCompatActivity {
    private ImageView add;
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_history_notepad);
        findView();
        initView();
    }
    protected  void findView(){
        add= (ImageView) findViewById(R.id.add_xinjian);
    }
    protected void initView(){
        add.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                startActivity(new Intent(HistoryActivity.this,AddActivity.class));
            }
        });
    }
}
